Optimal. Leaf size=50 \[ \frac {2 \sqrt {x}}{b \sqrt {a-b x}}-\frac {2 \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {a-b x}}\right )}{b^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {49, 65, 223,
209} \begin {gather*} \frac {2 \sqrt {x}}{b \sqrt {a-b x}}-\frac {2 \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {a-b x}}\right )}{b^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 49
Rule 65
Rule 209
Rule 223
Rubi steps
\begin {align*} \int \frac {\sqrt {x}}{(a-b x)^{3/2}} \, dx &=\frac {2 \sqrt {x}}{b \sqrt {a-b x}}-\frac {\int \frac {1}{\sqrt {x} \sqrt {a-b x}} \, dx}{b}\\ &=\frac {2 \sqrt {x}}{b \sqrt {a-b x}}-\frac {2 \text {Subst}\left (\int \frac {1}{\sqrt {a-b x^2}} \, dx,x,\sqrt {x}\right )}{b}\\ &=\frac {2 \sqrt {x}}{b \sqrt {a-b x}}-\frac {2 \text {Subst}\left (\int \frac {1}{1+b x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt {a-b x}}\right )}{b}\\ &=\frac {2 \sqrt {x}}{b \sqrt {a-b x}}-\frac {2 \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {a-b x}}\right )}{b^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 56, normalized size = 1.12 \begin {gather*} \frac {2 \sqrt {x}}{b \sqrt {a-b x}}-\frac {2 \log \left (-\sqrt {-b} \sqrt {x}+\sqrt {a-b x}\right )}{(-b)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 3 in
optimal.
time = 2.72, size = 89, normalized size = 1.78 \begin {gather*} \text {Piecewise}\left [\left \{\left \{\frac {2 I \text {ArcCosh}\left [\frac {\sqrt {b} \sqrt {x}}{\sqrt {a}}\right ]}{b^{\frac {3}{2}}}-\frac {2 I \sqrt {x}}{\sqrt {a} b \sqrt {-1+\frac {b x}{a}}},\text {Abs}\left [\frac {b x}{a}\right ]>1\right \}\right \},\frac {-2 \text {ArcSin}\left [\frac {\sqrt {b} \sqrt {x}}{\sqrt {a}}\right ]}{b^{\frac {3}{2}}}+\frac {2 \sqrt {x}}{\sqrt {a} b \sqrt {1-\frac {b x}{a}}}\right ] \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {\sqrt {x}}{\left (-b x +a \right )^{\frac {3}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.35, size = 38, normalized size = 0.76 \begin {gather*} \frac {2 \, \arctan \left (\frac {\sqrt {-b x + a}}{\sqrt {b} \sqrt {x}}\right )}{b^{\frac {3}{2}}} + \frac {2 \, \sqrt {x}}{\sqrt {-b x + a} b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 128, normalized size = 2.56 \begin {gather*} \left [-\frac {{\left (b x - a\right )} \sqrt {-b} \log \left (-2 \, b x - 2 \, \sqrt {-b x + a} \sqrt {-b} \sqrt {x} + a\right ) + 2 \, \sqrt {-b x + a} b \sqrt {x}}{b^{3} x - a b^{2}}, \frac {2 \, {\left ({\left (b x - a\right )} \sqrt {b} \arctan \left (\frac {\sqrt {-b x + a}}{\sqrt {b} \sqrt {x}}\right ) - \sqrt {-b x + a} b \sqrt {x}\right )}}{b^{3} x - a b^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.93, size = 102, normalized size = 2.04 \begin {gather*} \begin {cases} \frac {2 i \operatorname {acosh}{\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {a}} \right )}}{b^{\frac {3}{2}}} - \frac {2 i \sqrt {x}}{\sqrt {a} b \sqrt {-1 + \frac {b x}{a}}} & \text {for}\: \left |{\frac {b x}{a}}\right | > 1 \\- \frac {2 \operatorname {asin}{\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {a}} \right )}}{b^{\frac {3}{2}}} + \frac {2 \sqrt {x}}{\sqrt {a} b \sqrt {1 - \frac {b x}{a}}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.01, size = 68, normalized size = 1.36 \begin {gather*} 2 \left (\frac {\frac {1}{2}\cdot 2 \sqrt {x} \sqrt {a-b x}}{b \left (a-b x\right )}+\frac {\ln \left |\sqrt {a-b x}-\sqrt {-b} \sqrt {x}\right |}{b \sqrt {-b}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\sqrt {x}}{{\left (a-b\,x\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________